import { AbilityType, APIType, APIVersion, LanguageType, RuntimeOSType, SDKType, } from '../../models/constants';
import { ProjectTemplateOption, ProjectTemplateOptionBuilder } from '../../models/model-options';
import { projectBuilder } from '../../project-builder';
import { defaultDir } from '../common-template';

/**
 * 工程选项
 *
 * @type {ProjectTemplateOption}
 */
const option: ProjectTemplateOption = ProjectTemplateOptionBuilder.builder()
  .sdk(SDKType.Single)
  .apiType(APIType.STAGE)
  .abilityType(AbilityType.Application)
  .apiVersion(APIVersion.API10)
  .language(LanguageType.ArkTs)
  .runtimeOS(RuntimeOSType.HarmonyOS)
  .build();

projectBuilder.add(option, defaultDir.api10project);
